package com.geekcoding.geekoj;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;


//@SpringBootApplication(scanBasePackages = {"com.geekcoding"},
//        exclude = {DataSourceAutoConfiguration.class, DataSourceTransactionManagerAutoConfiguration.class,
//                HibernateJpaAutoConfiguration.class})
//@EnableTransactionManagement
//@EnableScheduling
@MapperScan("com.geekcoding.geekoj.mapper")
@SpringBootApplication
//@EnableAsync
public class GeekOjApplication {

    public static void main(String[] args) {
        SpringApplication.run(GeekOjApplication.class, args);
    }

}
